//
//  NSLabel.swift
//  onemeetingmac
//
//  Created by 张衡 on 2020/6/10.
//  Copyright © 2020 onemeeting. All rights reserved.
//

import Foundation

class NSLabel: NSTextField {
    override init(frame frameRect: NSRect) {
        super.init(frame: frameRect)
        self.isBordered = false
        self.isEditable = false
        //self.drawsBackground = false
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    var text:String = "" {
        didSet {
            self.stringValue = text
        }
    }
}
